<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">

	<h:form id="list">
		<p:dataTable id="listValues" var="p" value="#{orderMB.values}">
			<p:column headerText="ID" style="width:30px">
				<h:outputText value="#{p.id}" />
			</p:column>
			<p:column headerText="Pedido" style="width:300px">
				<h:outputText value="#{p.description}" />			
			</p:column>
			<p:column headerText="Data/Hora" >
				<h:outputText value="#{p.date.time}">
					<f:convertDateTime pattern="dd/MM/yyyy - HH:mm:ss"/>
				</h:outputText>			
			</p:column>
			<p:column headerText="Prioridade" >
				<h:outputText value="#{p.priority}" />			
			</p:column>
		</p:dataTable>
	</h:form>
</html>